www.mxdraw.com
|
设置数据库中的系统变量值
[helpstring("method SetVariable")] HRESULT SetVariable([in] BSTR pszName, [in] IMxDrawResbuf* value);
例如: C#写捕操变量
MxDrawDatabase database = (MxDrawDatabase)axMxDrawX1.GetDatabase();
MxDrawResbuf val = new MxDrawResbuf();
RTSHORT:5003,RTREAL:5001,RTSTR:5005
val.AddLongEx(0,5003);
database.SetVariable("OSMODE", val);